POV-Ray : Newsgroups : povray.binaries.images : Function-Based Shader Macro : Re: Function-Based Shader Macro Server Time
15 Aug 2024 02:23:19 EDT (-0400)
  Re: Function-Based Shader Macro  
From: Dave Dunn
Date: 17 Aug 2002 22:08:08
Message: <3D5F015C.594862FF@aol.com>
Christopher James Huff wrote:

> One possibility would be to allow you to specify a function for any
> float, color, or vector value in the finish...would that satisfy you? ;-)
> There would be a small speed penalty from the overhead of choosing
> between a function and a constant, but an enormous increase in
> flexibility. It would require lots of rewriting though.

That is exactly what I was thinking. Since I have finally "come around" to using
functions, I like them better than plain old pattern identifiers anyway, if only for
consistency's sake. Now if we only had a null pattern identifier to make empy spaces
in normal maps, but that of course is a different story...   ; }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.